<include file="Public:header"/>
<script type="text/javascript" src="__JS__/Highcharts-4.0.3/js/highcharts.js"></script>
<script type="text/javascript" src="__JS__/Highcharts-4.0.3/js/modules/exporting.js"></script>
<style type="text/css">
.data_list table td,.data_list table th{
    text-align: left;
}
.data_list table{
    border: 1px solid #eeeeee;
}
</style>
<div class="form_data">
    <div class="data_list">
        <table style="width:48%;float: left">
            <tr>
                <th colspan="2" style="padding-left: 10px;">系统信息</th>
            </tr>
            <tr>
                <td width="150">服务器操作系统</td>
                <td>{$Think.const.PHP_OS}</td>
            </tr>
            <tr>
                <td>ThinkPHP版本</td>
                <td>{$Think.VERSION}</td>
            </tr>
            <tr>
                <td>运行环境</td>
                <td>{$_SERVER['SERVER_SOFTWARE']}</td>
            </tr>
            <tr>
                <td>MYSQL版本</td>
                <td>
                    <php>$system_info_mysql = M()->query("select version() as v;");</php>
                    {$system_info_mysql.0.v}
                </td>
            </tr>
            <tr>
                <td>上传限制</td>
                <td>{:ini_get('upload_max_filesize')}</td>
            </tr>
        </table>

        <table style="width:48%;float: right">
            <tr>
                <th colspan="2" style="padding-left: 10px;">其它信息</th>
            </tr>
            <tr>
                <td width="150">文章数量</td>
                <td>{$article_num|default='0'}</td>
            </tr>
            <tr>
                <td>待审核文章数量</td>
                <td>{$article_audit_num|default='0'}</td>
            </tr>
            <tr>
                <td>用户数量</td>
                <td>{$user_num|default='0'}</td>
            </tr>
            <tr>
                <td>评价数量</td>
                <td>{$comment_num}</td>
            </tr>
        </table>
    </div>

</div>

<include file="Public:footer"/>